import { get, post } from '@/utils/request'

// 获取验证码
export const LoginCode = (params) => get('/unit/main/getcaptche', params)
// 用户登录
export const UserLogin = (params) => post('/unit/main/login', params)
// 获取用户登录身份
export const UserInfo = (params) => post('/unit/account/userinfo', params)
// 学校列表
export const UnitList = (params) => post('/unit/common/unitlist.html', params)
// 项目类别
export const CateTree = (params) => post('/unit/common/catetree.html', params)
// 公告列表
export const Notice = (params) => post('/unit/common/noticelist.html', params)
// 公告列表-详情
export const NoticeDeatils = (params) => post('/unit/common/noticedetail.html', params)
// 登录页面的文章列表
export const ArtList = (params) => post('/unit/main/artlist', params)
// 登录页面的文章详情
export const ArtDetail = (params) => post('/unit/main/artdetail', params)
// 取消标记
export const MarkCancel = (params) => post('/unit/common/markcancel.html', params)
// 修改密码
export const ModifyPass = (params) => post('/unit/common/updatepassworddo', params)
// 退出登录
export const Register = (params) => post('/unit/common/logout', params)

// 专家用户
// 首页
export const ExpertIndex = (params) => post('/unit/userexpert/index.html', params)
// 首页Echarts
export const ExpertEchart = (params) => post('/unit/userexpert/staticyearproject.html', params)
// 申报项目列表
export const ExpertProjectList = (params) => post('/unit/userexpert/projectlist.html', params)
// 申报项目审核列表
export const ExpertDeclare = (params) => post('/unit/userexpert/mydeclare.html', params)
// 申报项目审核列表-标记
export const ExpertMarkDo = (params) => post('/unit/userexpert/markdo.html', params)
// 项目标记列表
export const ExperMarkList = (params) => post('unit/userexpert/mymarklist.html', params)
// 申报项目审核详情
export const ExpertDeclareDetails = (params) => post('/unit/userexpert/mydeclaredetail.html', params)
// 项目组列表
export const ExpertGroupList = (params) => post('/unit/leader/grouplist', params)
// 评审情况
export const ExpertList = (params) => post('/unit/leader/declarelist', params)
// 评审情况详情
export const ExpertDetails = (params) => post('/unit/leader/declaredetail', params)
// 申报项目审核详情-(评审指标详情)
export const ExpertProjectAssess = (params) => post('/unit/userexpert/projectassess.html', params)
// 申报项目管理-提交保存
export const ExpertDeclareCheck = (params) => post('/unit/userexpert/mydeclarecheck.html', params)
// 编辑个人信息
export const ExpertEdit = (params) => post('/unit/userexpert/userinfoedit.html', params)


// 项目申报用户
// 首页
export const UserIndex = (params) => post('/unit/userreport/index.html', params)
// 项目申报中心入口列表
export const UserProjectList = (params) => post('/unit/userreport/projectlist.html', params)
// 项目申报中心列表
export const UserDeclare = (params) => post('/unit/userreport/mydeclare.html', params)
// 项目申报中心-标记
export const UserMarkDo = (params) => post('/unit/userreport/markdo.html', params)
// 项目申报中心详情
export const UserDeclareDetails = (params) => post('/unit/userreport/mydeclaredetail.html', params)
// 项目申报中心-添加编辑
export const UserDeclareEdit = (params) => post('/unit/userreport/edit.html', params)
// 申报项目自定义字段
export const UserCustomFields = (params) => post('/unit/userreport/customfields.html', params)
// 编辑个人资料
export const UserEdit = (params) => post('/unit/userreport/userinfoedit.html', params)
// 获取附件详情
export const UserProjectDetails = (params) => post('/unit/userreport/projectdetail.html', params)


// 学校管理员
// 首页
export const SchoolIndex = (params) => post('/unit/schooladmin/index.html', params)
// 首页echarts
export const SchoolEchart = (params) => post('/unit/schooladmin/staticyearproject.html', params)
// 申报项目列表
export const SchoolProjectList = (params) => post('/unit/schooladmin/projectlist.html', params)
// 申报项目管理
export const SchoolDeclarePorject = (params) => post('/unit/schooladmin/mydeclare.html', params)
// 项目详情
export const SchoolProjectDetails = (params) => post('/unit/schooladmin/projectdetail.html', params)
// 申报项目详情
export const SchoolDeclareDetails = (params) => post('/unit/schooladmin/mydeclaredetail.html', params)
// 申报项目管理-审核
export const DeclareCheck = (params) => post('/unit/schooladmin/mydeclarecheck.html', params)
// 申报项目管理-批量审核
export const DeclareCheckBatch = (params) => post('/unit/schooladmin/mydeclarecheckbatch.html', params)
// 申报项目管理-标记
export const MarkDo = (params) => post('/unit/schooladmin/markdo.html', params)
// 标记列表
export const MarkList = (params) => post('/unit/schooladmin/mymarklist.html', params)
// 申报用户管理
export const UserReport = (params) => post('/unit/schooladmin/myuserreport.html', params)
// 创建申报用户
export const UserReportad = (params) => post('/unit/schooladmin/userreportadd.html', params)
// 删除用户
export const UserReportDel = (params) => post('/unit/schooladmin/userreportdel.html', params)
// 批量删除用户
export const UserReportDelBatch = (params) => post('unit/schooladmin/userreportdelbatch.html', params)
// 禁用用户
export const UserReportDisable = (params) => post('/unit/schooladmin/userreportdisable.html', params)
// 修改申报用户信息
export const UserModify = (params) => post('/unit/schooladmin/userreportdetail.html', params)
// 学校信息维护
export const InforMationmaIntenance = (params) => post('/unit/schooladmin/informationmaintenance.html', params)
// 学校信息详情
export const InformationmaIndetail = (params) => post('/unit/schooladmin/informationmaindetail.html', params)
// 编辑个人信息
export const SchoolEdit = (params) => post('/unit/schooladmin/userinfoedit.html', params);
